<?php

namespace app\api\validate;
use think\Validate;

class Department extends Validate{

	protected $rule = array(
        'title' => 'require|max:50|unique:department',
        //'pid' => 'require'
	);
}